package com.wms.entity;



import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;

/**
*
* @TableName order_return
*/
@Data
@ColumnWidth(value = 20)
@HeadRowHeight(value = 20)
public class OrderReturn implements Serializable {

    /**
    *
    */
    private Integer id;
    /**
    *
    */
    @ExcelProperty(value = "平台名称")
    private String platformName;
    /**
    *
    */
    @ExcelProperty(value = "顾客名称")
    private String consumerName;
    /**
    *
    */
    @ExcelProperty(value = "商品名称")
    private String goodName;
    /**
    *
    */
    @ExcelIgnore
    private String goodImageUrl;
    /**
    *
    */
    @ExcelProperty(value = "商品金额")
    private BigDecimal amount;
    /**
    *
    */
    @ExcelProperty(value = "退货类型")
    private String returnType;
    /**
    *
    */
    @ExcelProperty(value = "退货原因")
    private String returnReason;
    /**
    *
    */
    @ExcelIgnore
    private String returnWarehouse;
    /**
    *
    */
    @ExcelIgnore
    private String status;
    /**
    *
    */
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
    *
    */
    @ExcelIgnore
    private Integer delFlag;
    @ExcelIgnore
    private String remark;
    @ExcelIgnore
    private String auditReason;
}
